package Day002_final_static_接口.练习;

//继承父类Dog 实现接口JD

public class JDdog extends Dog implements JD {
    @Override
    //吼叫
    public  void jiao(){
        System.out.println("汪汪汪...");

    }
    //吃饭
    public  void eat(){
        System.out.println("吃骨头");

    }

    public void jidu(){
        System.out.println("用鼻子缉毒");
    }
}
